package com.ttg.web.dao;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ttg.common.entities.BasePage;
import com.ttg.model.dto.job.ModelAcctPageDTO;
import com.ttg.model.pojo.BankAccountPrimitive;
import com.ttg.model.vo.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * (TblBankAccountPrimitive) dao
 *
 * @author chenyou
 * @datetime 2025-11-11 10:13:54
 */
public interface BankAccountPrimitiveDao extends IService<BankAccountPrimitive>{


    boolean deleteByDate(Integer date);

    List<SettAcctTimeAmtVO> getSettAcctTimeAmt(Integer date,List<Long> acctNos);

    List<AcctPrimitiveSumVO> getAcctInfoByMonth(Integer firstDay, Integer lastDay, List<Long> acctNos);

    BasePage<Long> getAcctNosByPage(ModelAcctPageDTO pageDTO);

//    List<ModelAcctVO> getSettAcctModel(Integer firstDay,Integer lastDay,List<Long> acctNos);

    List<ModelAcctVO> getAllAcctModel(Integer firstDay,Integer lastDay,List<Long> acctNos);

    List<AcctMctVipInfoVO> getMctVipInfoByActNos(Integer day, List<Long> acctNos);

}

